The Replicate Files of
Kentaro Fukumoto. "Legislative Production in Comparative Perspective:
 Cross Sectional Study of 42 Countries and Time-Series Analysis of the Japan Case."
Japanese Journal of Political Science. 9(1): 1-19.

Version 1.0, June 28, 2009
Copyright (C) 2009 Kentaro Fukumoto (Kentaro.Fukumoto@gakushuin.ac.jp)
http://www-cc.gakushuin.ac.jp/~e982440/research/legislative/

1. Introduction

The files in this zipped directory "pack.1.0.zip" are used to replicate the analyses in the article above. If you use these files, please cite this article. Below, ".x.y" represents an appropriate version number.

2. How to Replicate the Tables and Figures in the Article

2.1 Cross-Sectional Study of 42 Countries

2.1.1 Data
comparative.dta: STATA data file
comparative.csv: csv file
Both are the same.

2.1.2 Analysis
comparative.do: STATA command file
I used STATA release 8.0. Run this file. It repliactes Table 1.

2.2 Time Series Analysis of Japan 

2.2.1 Data
Japan.Rdata: R object file
Japan.csv  : csv file
Both are two versionsof the SAME data EXCEPT for the variable "population" which is slightly different between the two files probably for numerical reasons. The published article used "Japan.Rdata". Though "Japan.csv" leads to  slightly different results, I provide it as well just for making this data available to non R users.

2.2.2 Analysis
I used R (version is around 2.3.0?).

2.2.2.1 PEWMA and PAR code
pests.r: R code (not included in this "pack" directory)
This code implements PEWMA and PAR. It was written by Patrick Brandt. I downloaded it on January 4, 2005 at
http://www.psci.unt.edu/~brandt/codepage.html
As of June 2009, it is available at 
http://www.utdallas.edu/~pbrandt/pbrandt/Code%20%26%20Software.html
I appreciate him for making his useful code public.
Unfortunately, thuogh, the current version does not replicate the results by the 2005 version which was published on JJPS. In order to replicate the published results, you need the 2005 version. (Due to copyright, I can't disribute it though I have it.)

2.2.2.2 My Code
Japan.r       : main R code
wrapper.r     : wrapper functiosn (implemented underground)
make.figure4.r: make Figuer 4 (implemented underground)
After putting the 2005 version of "pests.r" on this "pack" directory, run "Japan.r" (the other two files are called from within). It repliactes Table 2 and Figures 3 and 4.

3. Notes

These data files are small part of my original data which contains around 300 variables. I do not make these accessible only because I have no time to make code books for them. Though, I am happy to provide these for interested scholars if possible.

4. Revision History

Version 1.0, June 28, 2009
Upon request, I make these files.